package com.edu.hre.struts.form.admin;

import java.util.ArrayList;
import java.util.List;

import org.apache.struts.action.ActionForm;
import org.apache.struts.util.LabelValueBean;

public class CompensationUpdateForm extends ActionForm {
	
	private Integer id = 0;
	private int month;
	private String year = "";
	private String amount = "";
	private List<LabelValueBean> allMonths = new ArrayList<LabelValueBean>();
	
	private String message = "";
	private boolean isAddNew = true;
	
	public CompensationUpdateForm() {

	}

	public Integer getId() {
		return id;
	}

	public void setId(Integer id) {
		this.id = id;
	}

	public String getMessage() {
		return message;
	}

	public void setMessage(String message) {
		this.message = message;
	}

	public boolean isAddNew() {
		return isAddNew;
	}

	public void setAddNew(boolean isAddNew) {
		this.isAddNew = isAddNew;
	}
	
	public boolean getIsAddNew() {
		return isAddNew;
	}

	public void setIsAddNew(boolean isAddNew) {
		this.isAddNew = isAddNew;
	}

	public int getMonth() {
		return month;
	}

	public void setMonth(int month) {
		this.month = month;
	}

	public String getAmount() {
		return amount;
	}

	public void setAmount(String amount) {
		this.amount = amount;
	}

	public List<LabelValueBean> getAllMonths() {
		return allMonths;
	}

	public void setAllMonths(List<LabelValueBean> allMonths) {
		this.allMonths = allMonths;
	}

	public String getYear() {
		return year;
	}

	public void setYear(String year) {
		this.year = year;
	}
}
